import request from './request';

//	获取流程进展字典
export function cemCustomerInfoGetProgress() {
  return request({
    url: '/cemCustomerInfo/getProgress',
    method: 'get'
  });
}

//	获取线索数据
export function cemCustomerInfoFindCustomerManageList(data) {
  return request({
    url: '/cemCustomerInfo/findCustomerManageList',
    method: 'get',
	params:data
  });
}

//	新增线索数据
export function cemCustomerInfoInsertOrUpdateCustomer(data) {
  return request({
    url: '/cemCustomerInfo/insertOrUpdateCustomer',
    method: 'post',
	data
  });
}

//	联系方式1校验
export function studentInspectPhone(data) {
  return request({
    url: '/student/inspectPhone',
    method: 'get',
	params:data
  });
}

//	获取门店员工字典
export function userFindBusinessUser(data) {
  return request({
    url: '/user/findBusinessUser',
    method: 'get',
	params:data
  });
}

//	分配线索
export function cemCustomerInfoAllotCustomer(data) {
  return request({
    url: '/cemCustomerInfo/allotCustomer',
    method: 'post',
	data
  });
}

// 批量删除线索
export function cemCustomerInfoDelCustomer(data) {
  return request({
    url: '/cemCustomerInfo/delManyCustomer',
    method: 'post',
	data
  });
}

//获取今日待沟通列表
export function cemCustomerInfoFindTodayComList(data) {
  return request({
    url: '/cemCustomerInfo/findTodayComList',
    method: 'get',
	params:data
  });
}

//我的线索-全部线索
export function cemCustomerInfoFindMyCustomerList(data) {
  return request({
    url: '/cemCustomerInfo/findMyCustomerList',
    method: 'get',
	params:data
  });
}